package com.njwb.day12.daili;

public class RealSubject implements Subject {
    private String name;

    public RealSubject(String name) {
        this.name = name;
    }

    @Override
    public void getMoney() {
        System.out.println(name + "：还钱！！！！");
    }
}
